/*
 *  Sphere.h
 *  rayTracer
 *
 *  Created by Zachry Thayer on 10/7/09.
 *  Copyright 2009 A_Nub. All rights reserved.
 *
 */
#ifndef _sphere_h
#define _sphere_h

#include "Object.h"

class Sphere : public Object {
private:
	
public:
	Sphere():Object(){}
	Sphere(Vec3 &position, Vec3 &scale, Vec3 &rotation, Material &material):Object(position,scale,rotation,material){}

	~Sphere(){}
	
	 Intersect intersect(Ray &ray);	// subclass implemented	
	 bool inside(Vec3 &point);
};

#endif
